package com.more.offer.designpatterns.composition;

/**
 * @author pinoc
 * @date 2021/10/28
 * @description
 */
public abstract class Department {

	private String name;

	public Department(String name) {
		this.name = name;
	}

	public Department() {

	}

	public abstract  void addDept(Department dept);

	public abstract void showDept(int depth);

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
